package com.ml.mall.entity.coupon;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "sys_coupon_supplier_unuse_product")
public class SysCouponSupplierUnuseProduct implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 类别用于商城搜索
     */
    @TableField(value = "coupon_code")
    private String couponCode;

    /**
     * 供应商ID
     */
    @TableField(value = "supplier_id")
    private Long supplierId;

    /**
     * 不能使用的变体ID;
     */
    @TableField(value = "variant_id")
    private Long variantId;

    private static final long serialVersionUID = 1L;
}

